import request from "@/utils/request";


//文件上传请求1
export const reqFileUploadByBlob = (formData) => {
    return request({
        url:"/uploadByBlob",
        method:"post",
        headers:{
            "Content-Type":"multipart/form-data"
        },
        data:formData
    })
}

//文件上传请求2
export const reqFileUploadByBase64 = (base64FileList) => {
    return request({
        url:"/uploadByBase64",
        method:"post",
        data:{
            base64FileList
        }
    })
}